{% extends "admin/change_list.html" %}
{% block extrahead %}
    {{ block.super }}
    <style>
        /* 添加自定义CSS以支持固定列 */
        .fixed-columns th:nth-child(-n+2), .fixed-columns td:nth-child(-n+2) {
            position: sticky;
            left: 0;
            background-color: white;
            z-index: 1;
        }
    </style>
{% endblock %}

{% block result_list %}
    <div class="fixed-columns">
        {{ block.super }}
    </div>
{% endblock %}
